//
//  DefaultButton.m
//  EasyToTesco2.0
//
//  Created by 杨森 on 16/6/20.
//  Copyright © 2016年 EasyToTesco. All rights reserved.
//

#import "DefaultButton.h"

@implementation DefaultButton

- (instancetype)init
{
    if (self = [super init]) {
        
        self.layer.cornerRadius = 5;
        self.layer.masksToBounds = YES;
        self.titleLabel.font = [UIFont systemFontOfSize:15];
        [self setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
        [self setBackgroundColor:DEFAULT_COLOR];
    }
    return self;
}

@end
